package com.meiwenhui.sishuwujing.entities;

import java.util.Date;

import com.orm.androrm.Model;
import com.orm.androrm.field.CharField;
import com.orm.androrm.field.DateField;
import com.orm.androrm.field.TextField;

public class History extends Model {

	protected CharField book;
	protected CharField chapter;
	protected CharField author;
	protected TextField describe;
	protected DateField hisDate;

	public History() {
		super();
		this.book = new CharField(255);
		this.chapter = new CharField(255);
		this.author = new CharField(255);
		this.describe = new TextField();
		this.hisDate = new DateField();
	}

	public Date getHisDate() {
		return hisDate.get();
	}

	public void setHisDate(Date hisDate) {
		this.hisDate.set(hisDate);
	}

	public String getBook() {
		return book.get();
	}

	public void setBook(String book) {
		this.book.set(book);
	}

	public String getChapter() {
		return chapter.get();
	}

	public void setChapter(String chapter) {
		this.chapter.set(chapter);
	}

	public String getAuthor() {
		return author.get();
	}

	public void setAuthor(String author) {
		this.author.set(author);
	}

}
